package com.thesis.dao;

import com.thesis.entity.SysDictValue;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysDictValueMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysDictValue record);

    int insertSelective(SysDictValue record);

    SysDictValue selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysDictValue record);

    int updateByPrimaryKey(SysDictValue record);

    Page<SysDictValue> findPageList(@Param("queryParam") SysDictValue record);

    Page<SysDictValue> findPageListByVague(@Param("queryParam") SysDictValue queryParam, @Param("vagueParam") String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);

    List<SysDictValue> findListByDictCode(String dictCode);

    String findBillByMap(Map<String, Object> queryMap);
}